package strategy;

/**
 * 策略模式
 */
public class Strategy {
    public static void main(String[] args) {
        System.out.println("strategy");
        Strategy.defaults();
    }
    public static void defaults(){
        int [] sortAy = new int[]{
                2,3,1,-1,99
        };

        Sort sort = new Sort();
        sort.sort(sortAy);

        for(int i:sortAy){
            System.out.println(i);
        }
    }
}
